package com.xyy.saas.payment.dao.model;

import java.io.Serializable;
import java.util.Date;

/**
 * entrust_pay_info
 * @author 
 */
public class EntrustPayInfo implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 签约协议号
     */
    private String contractCode;

    /**
     * 用户标识
     */
    private String openid;

    /**
     * 业务场景
     */
    private String businessType;

    /**
     * 支付渠道
     */
    private String channel;

    /**
     * 签约模式
     */
    private String signMode;

    /**
     * 签约成功，解约后回调业务地址
     */
    private String callback;

    /**
     * 签约C端用户在业务侧唯一标识
     */
    private String signUserId;

    /**
     * 扣款账号id
     */
    private String accountId;

    /**
     * 签约单号
     */
    private String signOrderNo;

    /**
     * 签约模板ID
     */
    private String planId;

    /**
     * 签约用户的名称
     */
    private String contractDisplayAccount;

    /**
     * 委托代扣协议id
     */
    private String contractId;

    /**
     * 签约到期时间
     */
    private Date contractExpiredTime;

    /**
     * 协议解约方式
     */
    private Integer contractTerminationMode;

    /**
     * 签约状态
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 乐观锁
     */
    private Integer version;

    /**
     * 是否有效
     */
    private Integer yn;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContractCode() {
        return contractCode;
    }

    public void setContractCode(String contractCode) {
        this.contractCode = contractCode;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getSignMode() {
        return signMode;
    }

    public void setSignMode(String signMode) {
        this.signMode = signMode;
    }

    public String getCallback() {
        return callback;
    }

    public void setCallback(String callback) {
        this.callback = callback;
    }

    public String getSignUserId() {
        return signUserId;
    }

    public void setSignUserId(String signUserId) {
        this.signUserId = signUserId;
    }

    public String getSignOrderNo() {
        return signOrderNo;
    }

    public void setSignOrderNo(String signOrderNo) {
        this.signOrderNo = signOrderNo;
    }

    public String getPlanId() {
        return planId;
    }

    public void setPlanId(String planId) {
        this.planId = planId;
    }

    public String getContractDisplayAccount() {
        return contractDisplayAccount;
    }

    public void setContractDisplayAccount(String contractDisplayAccount) {
        this.contractDisplayAccount = contractDisplayAccount;
    }

    public String getContractId() {
        return contractId;
    }

    public void setContractId(String contractId) {
        this.contractId = contractId;
    }

    public Date getContractExpiredTime() {
        return contractExpiredTime;
    }

    public void setContractExpiredTime(Date contractExpiredTime) {
        this.contractExpiredTime = contractExpiredTime;
    }

    public Integer getContractTerminationMode() {
        return contractTerminationMode;
    }

    public void setContractTerminationMode(Integer contractTerminationMode) {
        this.contractTerminationMode = contractTerminationMode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getYn() {
        return yn;
    }

    public void setYn(Integer yn) {
        this.yn = yn;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }
}